package ${model.packageName}.${model.modulePackage}.${model.modelL}.domain;
import java.util.Date;
import com.okrs.framework.web.domain.BaseEntity;

#foreach ($field in $fieldList)
#if(${field.inputType}=="select"&&${field.inputValueTwo} != "")
#if(${field.inputValueOne} == "sys_dept")
import ${model.packageName}.system.dept.domain.Dept;
#else
import ${model.packageName}.${model.modulePackage}.${field.inputValueOneL}.domain.${field.inputValueOneU};
#end
#elseif(${field.inputType}=="select"&&${field.inputValueTwo} == "")
import com.okrs.project.system.dict.domain.DictData;
#end
#end


/**
 * ${model.comment}表 ${model.tableName}
 * 
 * @author ${model.author}
 * @date ${date}
 */
public class ${model.model} extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
#foreach ($field in $fieldList)
#if(${field.field}!="createBy"&&${field.field}!="createTime"&&${field.field}!="updateBy"&&${field.field}!="updateTime"&&${field.field}!="remark")
	/** ${field.comment} */
	private ${field.type} ${field.field};
#end
#if(${field.matchType}=="numberRange"||${field.matchType}=="dateRange")
	/** ${field.comment}起始范围 */
	private ${field.type} ${field.field}Start;
	/** ${field.comment}截止范围 */
	private ${field.type} ${field.field}End;
#end
#if(${field.inputType}=="select"&&${field.inputValueTwo} != "")
#if(${field.inputValueOne} == "sys_dept")
	private Dept ${field.inputValueOneL};
#else
	private ${field.inputValueOneU} ${field.inputValueOneL};
#end
#elseif(${field.inputType}=="select"&&${field.inputValueTwo} == "")	
	private DictData sysDictData${velocityCount};
#end
#end
#foreach ($field in $fieldList)
#if(${field.field}!="createBy"&&${field.field}!="createTime"&&${field.field}!="updateBy"&&${field.field}!="updateTime"&&${field.field}!="remark")
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.fieldUp}(${field.type} ${field.field}) 
	{
		this.${field.field} = ${field.field};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public ${field.type} get${field.fieldUp}() 
	{
		return ${field.field};
	}
#end
#if(${field.matchType}=="numberRange"||${field.matchType}=="dateRange")
	/**
	 * 设置：${field.comment} 起始范围
	 */
	public void set${field.fieldUp}Start(${field.type} ${field.field}Start) 
	{
		this.${field.field}Start = ${field.field}Start;
	}
	
	/**
	 * 获取：${field.comment} 起始范围
	 */
	public ${field.type} get${field.fieldUp}Start() 
	{
		return ${field.field}Start;
	}
	/**
	 * 设置：${field.comment} 截止范围
	 */
	public void set${field.fieldUp}End(${field.type} ${field.field}End) 
	{
		this.${field.field}End = ${field.field}End;
	}
	
	/**
	 * 获取：${field.comment} 截止范围
	 */
	public ${field.type} get${field.fieldUp}End() 
	{
		return ${field.field}End;
	}
#end
#if(${field.inputType}=="select"&&${field.inputValueTwo} != "") 
#if(${field.inputValueOne} == "sys_dept")
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.inputValueOneU}(Dept ${field.inputValueOneL}) 
	{
		this.${field.inputValueOneL} = ${field.inputValueOneL};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public Dept get${field.inputValueOneU}() 
	{
		return ${field.inputValueOneL};
	}
#else
	/**
	 * 设置：${field.comment}
	 */
	public void set${field.inputValueOneU}(${field.inputValueOneU} ${field.inputValueOneL}) 
	{
		this.${field.inputValueOneL} = ${field.inputValueOneL};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public ${field.inputValueOneU} get${field.inputValueOneU}() 
	{
		return ${field.inputValueOneL};
	}
#end
#elseif(${field.inputType}=="select"&&${field.inputValueTwo} == "")
	/**
	 * 设置：${field.comment}
	 */
	public void setSysDictData${velocityCount}(DictData sysDictData${velocityCount}) 
	{
		this.sysDictData${velocityCount} = sysDictData${velocityCount};
	}
	
	/**
	 * 获取：${field.comment}
	 */
	public DictData getSysDictData${velocityCount}() 
	{
		return sysDictData${velocityCount};
	}
#end	
#end
}
